package utils

import java.util.concurrent.atomic.AtomicLong
import scala.actors.threadpool.AtomicInteger

class CID
{
    private val _int = new AtomicInteger(0)
    private val _long = new AtomicLong(0)

    def int = _int.getAndIncrement
    def long = _long.getAndIncrement
}

object CID extends CID
